package com.guoxue.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.guoxue.dao.IPlanChapterDao;
import com.guoxue.domain.PlanChapterConfigVo;
import com.guoxue.service.IPlanChapterConfigService;
@Service("planChapterService")
public class PlanChapterConfigServiceImpl implements IPlanChapterConfigService{
	@Resource
	private IPlanChapterDao dao;

	@Override
	public List<PlanChapterConfigVo> getPlanChapterById(int planChapterdx, int planChapterdy) {
		return dao.getPlanChapterById(planChapterdx,planChapterdy);
	}

	@Override
	public List<PlanChapterConfigVo> getPlanChapterList() {
		return dao.getPlanChapterList();
	}

	@Override
	public void deletePlanChapter(int id) {
		dao.deletePlanChapter(id);
	}

	@Override
	public void savePlanChapter(PlanChapterConfigVo pcc) {
		dao.savePlanChapter(pcc);
	}
}
